function removemodel(title,id){
            $('#myModal  .modal-body').text('确定要删除'+title)
            $('#myModal').modal({
                keyboard:true
            })
            $('.remove').on('click',function(){
                $.post('/cour_delete', 
                    {'id': id}, 
                    function(res) {
                    location.reload()
                });
            
            })  
}

function remove_video(title,id){
            $('#myVideo  .modal-body').text('确定要删除'+title)
            $('#myVideo').modal({
                keyboard:true
            })
            $('.video_remove').on('click',function(){
                $.post('/video_delete', 
                    {'id': id}, 
                    function(res) {
                    location.reload()
                });
            
            })  

}